import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'

const routes: RouteRecordRaw[] = [
  {
    name: 'app',
    path: '/',
    component: () => import('@/App.vue')
  },
  {
    name: 'Auth',
    path: '/auth',
    component: () => import('@/views/auth/index.vue')
  },
]

const router = createRouter({
  history: createWebHistory(),
  routes
})
export default router